{literal}
<script language="javascript">
jQuery(document).ready(function() {				
	jQuery("#created_time_from").datepicker();
	jQuery("#created_time_to").datepicker();	
});
</script>
{/literal} 
<table bgcolor="#f0f0f0" width="100%" cellspacing="2" cellpadding="5" border="0" >
	<tbody>
		<tr id="xyz1">
			<td colspan="6">
				<div class="label_show_action" >
					<a href="log_acc.html" style="margin-left:16px; font-size:25px">Log Action Tài Khoản</a><a href="log_action.html" style="margin-left:16px; font-size:25px">[Log Action Tin Đăng]</a>
				</div>
				<div class="product-list-paging product-list-paging_50">										
					<div>{$paging}</div>
				</div>
			</td>
		</tr>
		<tr id="xyz2">												
			<td align="right">
				<b>ID Doanh Nghiệp</b>: <input name="company_id" id="company_id" value="{$company_id}">
			</td>
			<td align="right">
				<b>ID User</b>: <input name="user_id" id="user_id" value="{$user_id}">
			</td>
			<td>
				<b>Kiểu Acc:</b>
				<select name=type>
					<option value=0>Tất cả</option>
					<option value=1 {if $type==1}selected=selected{/if}>Tài khoản chuyên nghiệp</option>
					<option value=2 {if $type==2}selected=selected{/if}>Tài khoản Vip</option>
				</select>
			</td>
		   
		
		  <td width="280" align="right"><b>Tìm theo ngày từ:</b> <input type="text" name="created_time_from" id="created_time_from" value="{$created_time_from}" /></td>
		  <td width="280"><b>Đến: </b><input type="text" name="created_time_to" id="created_time_to" value="{$created_time_to}" /></td>
		  <td><input type="submit" value="Tìm kiếm"></td>
		</tr>		
  </tbody>
</table>
<table width="100%" border="0" cellspacing="2" cellpadding="5" id="contentRows">
	<tr bgcolor="#f0f0f0" height="40" class="fontbold">	   
	  <td align="center" width="150">Kiểu TK</td>
	  <td align="center" width="110">ID thành viên</td>
	  <td align="center">Người thực hiện</td>
	  <td align="center" width="150">Thời gian thực hiện</td>
	  <td align="center" width="170">Ghi chú</td>	 
	  <td align="center" width="150">IP</td>	  
 	</tr>
	{if $items}
	{foreach from=$items item=items}
	<tr bgcolor="{cycle values='#f0f0f0,#ffffff'}" id="row_{$items.id}">			          
	  <td align="left">{if $items.type==1}TK chuyên nghiệp{else}TK Vip{/if}</td>
	   <td align="left"><a href="member-{$items.user_id}.html" target="_blank">{$items.user_id}</a></td>
       <td align="left"><a href="member-{$items.user_add}.html" target="_blank">{$items.user_email}</a></td>	
	  <td>
	  	{$items.time_act}	
	  </td>             
	  <td align="left">
	  	{$items.note}
	  </td>
      <td align="left" valign="top">
	  	{$items.ip}
	  </td>      
  	</tr>	
	{/foreach}
	<tr style="background-color:#f0f0f0">
		<td colspan="8">			
			<div class="product-list-paging bottom_pg" >{$paging}</div>
		</td>
	</tr>
	{else}
	<tr><td align="center" height="40" colspan="8">Không có dữ liệu với điều kiện tìm kiếm</td></tr>
	{/if}
</table>